$OpenBSD: patch-powerdevil_daemon_powerdevilbackendloader_cpp,v 1.2 2014/07/08 10:01:04 sthen Exp $
--- powerdevil/daemon/powerdevilbackendloader.cpp.orig	Mon Apr 28 05:38:04 2014
+++ powerdevil/daemon/powerdevilbackendloader.cpp	Tue Jul  8 10:58:17 2014
@@ -21,9 +21,7 @@
 #include <config-powerdevil.h>
 #include "powerdevilbackendloader.h"
 
-#ifdef HAVE_UDEV
 #include "backends/upower/powerdevilupowerbackend.h"
-#endif
 #include "backends/hal/powerdevilhalbackend.h"
 
 #include <KDebug>
@@ -33,7 +31,6 @@ namespace BackendLoader {
 
 BackendInterface* loadBackend(QObject *parent)
 {
-#ifdef HAVE_UDEV
     // Check UPower first
     kDebug() << "Loading UPower backend...";
     if (PowerDevilUPowerBackend::isAvailable()) {
@@ -42,7 +39,6 @@ BackendInterface* loadBackend(QObject *parent)
     }
 
     kDebug() << "Failed!";
-#endif
 
     // If we are here, try HAL
     kDebug() << "Loading HAL backend...";
